package com.sanhuo.idms.dao;

import com.sanhuo.idms.entity.DeviceState;
import com.sanhuo.triild.Basic.BaseMapper;
import com.sanhuo.triild.annotation.Mapper;
import com.sanhuo.triild.annotation.Select;

@Mapper
public interface DeviceStateMapper extends BaseMapper<DeviceState> {

    @Select("select * from device_state where dormId = #{dormId}")
    DeviceState findByDormId(String dormId);
}
